package com.yd.domain.business;

import com.yd.domain.commom.DomainObject;

import java.util.Date;

/**
 * @author zy
 * @create 2018-03-07 9:23
 * @desc 订单--货品
 **/
public class OrderGoods extends DomainObject<OrderGoods> {
    private String orderId;//订单号
    private String goodsId;//商品
    private String goodsTitle;//商品名称
    private float dealPrice;//交易价格
    private int dealNum;//交易数量
    private float perWeight;//单件商品重量
    private Date createTime;//生成日期
    private boolean ifPic;//是否存在图片
    private String content;//备注
    private String iconUrl;//图标
    private String goodsWeightId;
    private String identifier;//编号
    private String phStatus;//配货状态
    private int minWeight;
    private int maxWeight;
    private float jgf;
    private String typeOne;
    private String type;
    private String typeName;

    public String getTypeOne() {
        return typeOne;
    }

    public void setTypeOne(String typeOne) {
        this.typeOne = typeOne;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getIdentifier() {
        return identifier;
    }

    public void setIdentifier(String identifier) {
        this.identifier = identifier;
    }

    public int getMinWeight() {
        return minWeight;
    }

    public void setMinWeight(int minWeight) {
        this.minWeight = minWeight;
    }

    public int getMaxWeight() {
        return maxWeight;
    }

    public void setMaxWeight(int maxWeight) {
        this.maxWeight = maxWeight;
    }

    public float getJgf() {
        return jgf;
    }

    public void setJgf(float jgf) {
        this.jgf = jgf;
    }

    public String getGoodsWeightId() {
        return goodsWeightId;
    }

    public void setGoodsWeightId(String goodsWeightId) {
        this.goodsWeightId = goodsWeightId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsTitle() {
        return goodsTitle;
    }

    public void setGoodsTitle(String goodsTitle) {
        this.goodsTitle = goodsTitle;
    }

    public float getDealPrice() {
        return dealPrice;
    }

    public void setDealPrice(float dealPrice) {
        this.dealPrice = dealPrice;
    }

    public int getDealNum() {
        return dealNum;
    }

    public void setDealNum(int dealNum) {
        this.dealNum = dealNum;
    }

    public float getPerWeight() {
        return perWeight;
    }

    public void setPerWeight(float perWeight) {
        this.perWeight = perWeight;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public boolean isIfPic() {
        return ifPic;
    }

    public void setIfPic(boolean ifPic) {
        this.ifPic = ifPic;
    }

    public String getIconUrl() {
        return iconUrl;
    }

    public void setIconUrl(String iconUrl) {
        this.iconUrl = iconUrl;
    }

    public String getPhStatus() {
        return phStatus;
    }

    public void setPhStatus(String phStatus) {
        this.phStatus = phStatus;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    @Override
    public String toString() {
        return "OrderGoods{" +
                "orderId='" + orderId + '\'' +
                ", goodsId='" + goodsId + '\'' +
                ", goodsTitle='" + goodsTitle + '\'' +
                ", dealPrice=" + dealPrice +
                ", dealNum=" + dealNum +
                ", perWeight=" + perWeight +
                ", createTime=" + createTime +
                ", ifPic=" + ifPic +
                ", content='" + content + '\'' +
                ", iconUrl='" + iconUrl + '\'' +
                ", goodsWeightId='" + goodsWeightId + '\'' +
                ", phStatus=" + phStatus +
                ", minWeight=" + minWeight +
                ", maxWeight=" + maxWeight +
                ", jgf=" + jgf +
                '}';
    }
}
